#pragma once
#include <cstdio>
#include <termios.h>


class LinuxKeys{
public:
    LinuxKeys();
    ~LinuxKeys();
    int GetKeyCode();
    int ReadOneChar(char*);

private:
    struct termios initial_settings,new_settings;
    void init_keyboard(void);
    void close_keyboard(void);
};


